#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace myui {

	/// <summary>
	/// Summary for AddFrameDlg
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class AddFrameDlg : public System::Windows::Forms::Form
	{
	public:
		AddFrameDlg(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~AddFrameDlg()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::TextBox^  frameName;
	private: System::Windows::Forms::Label^  labelName;
	private: System::Windows::Forms::Button^  btnOK;
	protected: 

	protected: 

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->frameName = (gcnew System::Windows::Forms::TextBox());
			this->labelName = (gcnew System::Windows::Forms::Label());
			this->btnOK = (gcnew System::Windows::Forms::Button());
			this->SuspendLayout();
			// 
			// frameName
			// 
			this->frameName->Location = System::Drawing::Point(97, 61);
			this->frameName->Name = L"frameName";
			this->frameName->Size = System::Drawing::Size(183, 21);
			this->frameName->TabIndex = 0;
			// 
			// labelName
			// 
			this->labelName->AutoSize = true;
			this->labelName->Location = System::Drawing::Point(29, 64);
			this->labelName->Name = L"labelName";
			this->labelName->Size = System::Drawing::Size(65, 12);
			this->labelName->TabIndex = 1;
			this->labelName->Text = L"FrameName:";
			// 
			// btnOK
			// 
			this->btnOK->Location = System::Drawing::Point(110, 231);
			this->btnOK->Name = L"btnOK";
			this->btnOK->Size = System::Drawing::Size(75, 23);
			this->btnOK->TabIndex = 2;
			this->btnOK->Text = L"OK";
			this->btnOK->UseVisualStyleBackColor = true;
			this->btnOK->Click += gcnew System::EventHandler(this, &AddFrameDlg::btnOK_Click);
			// 
			// AddFrameDlg
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(292, 266);
			this->Controls->Add(this->btnOK);
			this->Controls->Add(this->labelName);
			this->Controls->Add(this->frameName);
			this->Name = L"AddFrameDlg";
			this->Text = L"AddFrameDlg";
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion

		public: String^ getFrameName(){return frameName->Text;}
		private: System::Void btnOK_Click(System::Object^  sender, System::EventArgs^  e)
		{
			this->Hide();
		}
	};
}
